namespace EduModel
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    public partial class T_New
    {
        [Key]
        public int NewId { get; set; }

        [StringLength(500)]
        public string NewTitle { get; set; }

        [StringLength(500)]
        public string NewImg { get; set; }

        [StringLength(500)]
        public string NewPaper { get; set; }

        public string NewContent { get; set; }

        [StringLength(1000)]
        public string NewLink { get; set; }

        public int? MainTypeId { get; set; }

        public int? SubTypeId { get; set; }

        public int? SchoolId { get; set; }

        public int? UserId { get; set; }

        public DateTime? CreateTime { get; set; }
    }
}
